package kr.haggenna.item.dao;

import java.util.List;
import java.util.Map;

import kr.haggenna.item.domain.Purchase;

public interface PurchaseDao {
	public void insertPurchase(Purchase purchase);
	public Purchase getRecentPurchase(Purchase purchase);
	public List<Purchase> getPurchaseListByEmail(String email);
	public int getRowCount();
	public List<Purchase> getList(Map<String,Object> map);
	public void updatePurchaseMileage(Purchase purchase);
	public Purchase getPurchaseByNum(int pur_num);
}
